package com.kede.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 供应信息
 * </p>
 *
 * @author 【yg】
 * @since 2020-04-01
 */
public class SupplyInformation implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 供应商品ID
     */
    @TableId(value = "siid", type = IdType.AUTO)
    private Long siid;

    /**
     * 供应商品名
     */
    private String siname;

    /**
     * 供应商品价格
     */
    private String simoney;

    /**
     * 供应商品上架时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime sitime;

    /**
     * 供应商品数量
     */
    private String sinumber;

    /**
     * 供应商品状态
     */
    private Integer sistate;

    public Long getSiid() {
        return siid;
    }

    public void setSiid(Long siid) {
        this.siid = siid;
    }
    public String getSiname() {
        return siname;
    }

    public void setSiname(String siname) {
        this.siname = siname;
    }
    public String getSimoney() {
        return simoney;
    }

    public void setSimoney(String simoney) {
        this.simoney = simoney;
    }
    public LocalDateTime getSitime() {
        return sitime;
    }

    public void setSitime(LocalDateTime sitime) {
        this.sitime = sitime;
    }
    public String getSinumber() {
        return sinumber;
    }

    public void setSinumber(String sinumber) {
        this.sinumber = sinumber;
    }
    public Integer getSistate() {
        return sistate;
    }

    public void setSistate(Integer sistate) {
        this.sistate = sistate;
    }

    @Override
    public String toString() {
        return "SupplyInformation{" +
            "siid=" + siid +
            ", siname=" + siname +
            ", simoney=" + simoney +
            ", sitime=" + sitime +
            ", sinumber=" + sinumber +
            ", sistate=" + sistate +
        "}";
    }

}
